gnttab: mark maptrack free list tail with an explicit terminator
authorJan Beulich <JBeulich@suse.com>
Wed, 30 May 2012 08:22:51 +0000 (09:22 +0100)
committerJan Beulich <JBeulich@suse.com>
Wed, 30 May 2012 08:22:51 +0000 (09:22 +0100)
commit74c5f66048beacfc53589e8dc878cfd8d216b3d1
treea6a9f101adf7d75d6f9ca03cd19ccb583f3954c4
parente26560a4b056dad6d85ffd9ebfad9565f210a9cc
gnttab: mark maptrack free list tail with an explicit terminator

... instead of using the mutable current limit.

This also addresses an apparent off-by-one mistake when checking for
exhaustion of the maptrack table.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Andrew Thomas <andrew.thomas@oracle.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/common/grant_table.c